<? include 'server_config.php'; 

if($_SESSION['user_idx'] == "")
{
	?>
	<script>
		location.href='login.php';
	</script>
	<?
	return;
}


$user_img = "../ndd/upload/member_photo/".$_SESSION['user_idx'];

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
	<title> New Document </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="Stylesheet" type="text/css" href="./css/nddCommon.css" />
	<script type="text/javascript" src="./js/jquery-1.6.2.min.js"></script>

	
	<link rel="Stylesheet" type="text/css" href="css/hos.css" />
	<script type="text/javascript" src="js/hos.js"></script>

</head>

 <body>
	<div id='wrapper'>
		<?
        include "top_menu.php";
        ?>
		
		<div id='left_bg'>
		</div>


		<div id='title'>
			<div id='title_margin_top'><span></span></div>
			<div style='width:195px;height:29px;float:left;'></div>
			<div style='width:41px;height:29px;float:left;'><img src="./img/top_icon_input.png"></div><div style='height:29px;float:left;margin-top:3px;'><span id='article_content' >방문하신 병원을 선택해 주세요</span></div>
		</div>
		
		<?
		$current_file = basename(__FILE__);
		include 'side_menu_input.php';
		?>


		<div id='middle_bg'>
		</div>

		<div id='document_content' style="width:776px;float:left;">
			<div style='height:2px;width:100%;background:#cccccc;float:left;'><span><span></div>
			<div style='height:3px;width:100%;float:left;'><span><span></div>

			<div style="width:714px;background:#F2F2F2;float:left;border:1px solid #E9E9E9;padding:30px;">
				<div style="width:30px;height:30px;float:left;">1</div>
				<div style="width:600px;float:left;">
					방문하신 병원의 이름을 입력해 주세요<br>
					<br/>
					<div id="hospital_wrapper">
						<form method="GET" action="hospital_process.php" autocomplete="off" id="hospital_search_form">
							<fieldset>
							병원 이름 : <input type="text" name="key" id="hospital_search">
							</fieldset>
						</form>
						<div id="hospital_result">
							<ul id="hospital_list">
							</ul>
						</div>
					</div>
			
				</div>
	
			</div>
			<? include "footer.php";?>		
		</div>

	</div>
 </body>
</html>
